#{set 'moreStyles'}
    <link rel="stylesheet" href="@{'/public/stylesheets/disponibilidad.css'}">
    <link rel="stylesheet" href="@{'/public/stylesheets/style_main.css'}">
    <link rel="stylesheet" href="@{'/public/stylesheets/jquery-ui-1.7.3.custom.css'}">
    <script src="@{'/public/javascripts/jquery-1.3.2.min.js'}" type="text/javascript" charset="${_response_encoding}"></script>
    <script src="@{'/public/javascripts/jquery-ui-1.7.3.custom.min.js'}" type="text/javascript" charset="${_response_encoding}"></script>
    
#{/set}

#{extends 'main.html' /}
#{set title:'Semestre Académico' /}

<div id="page">
    
    <div id="header">
        
         <table width="300" border="0" align="right">
              <tr>
                  <th>&nbsp;</th>
                  <th>&nbsp;</th>
              </tr>
              <tr>
                  <th>SEMESTRE :</th>
                  <th>${semestre.sem_vcNombre}</th>
              </tr>
	      <tr>
		<th>INICIO :</th>
                <th>${semestre.getInicio()}</th>
              </tr>
              <tr>
                <th>FIN :</th>
                <th>${semestre.getFin()}</th>
              </tr>
              <tr>
    		<th>DOCENTE :</th>
    		<th>${docente.getNombresYApellidos()}</th>
              </tr>
              <tr>
                <th>CODIGO :</th>
                <th>69874569</th>
              </tr>
              <tr>
              <th>FECHA ACTUAL :</th>
                <th>
                	<script>
						var f = new Date();						
							hora = new Date();
							var minutos = hora.getMinutes ();
							if (minutos<=9) minutos = "0" + minutos;
							document.write(f.getDate() + "/" + (f.getMonth() +1) + "/" + f.getFullYear()+" Hora: "+hora.getHours()+":"+minutos);
													
						</script>
                   
                </th>
                
              </tr>
	</table>
      
        <div id="headerTitle">&nbsp;</div>
        <div id="headerSubText">&nbsp;</div>

    </div>
    <div id="bar">

        <div class="navLink"><a href="#">Inicio</a></div>
        <div class="navLink"><a href="PerfilDecano">Mi perfil</a></div>
        <div class="navLink"><a href="@{disponibilidadHoraria.disponibilidad}">Disponibilidad</a></div>
        <div class="navLink"><a href="semestre">Semestre Académico</a></div>
        <div class="navLink"><a href="@{Secure.logout()}">Salir</a></div>
            
      </div>

    <div class="contentText">
        <p>&nbsp;</p>

        <table width="520" border="0" align="center" >
            <tr>
                <td colspan="7" style="color: blue; font-weight: bold"  >SEMESTRE ACAD&Eacute;MICO VIGENTE</td>
            </tr>
            <tr>
                <td colspan="2" >&nbsp;</td>
                <td width="72" style="font-weight: bold" >SEMESTRE :</td>
                <td colspan="2"  style="font-weight: bold" ><label>${semestre.getSem_vcNombre()} </label></td>
                <td colspan="2" align="center" >&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2" >&nbsp;</td>
                <td width="72" style="font-weight: bold" >INICIO :</td>
                <td colspan="2"  ><label>${semestre.getInicio()}</label></td>
                <td colspan="2" align="center" >&nbsp;</td>
            </tr>
            <tr>
                <td colspan="2" align="center" >&nbsp;</td>
                <td width="72" style="font-weight: bold"  >FINALIZA :</td>
                <td colspan="2" >${semestre.getFin()}</td>
                <td colspan="2" align="center" >&nbsp;</td>
            </tr>
            <tr>
                <td colspan="7" align="center">
                    #{if mensaje}
                    <span>${mensaje}</span>
                    #{/if}
                    <input type="hidden" name="id" value="${semestre.id}">
                </td>
            </tr>

            <tr>
                <td colspan="7" align="center" style="font-weight: bold" >
                        <a href="/disponibilidadhoraria/crearsemestre"  >Crear Semestre</a> | <a href="/disponibilidadhoraria/actualizarsemestre" >Actualizar Semestre</a>
                         | <a href="/disponibilidadhoraria/mostrarsemestres" >Mostrar Semestres</a>
                  </td>
            </tr>
            <tr>
                <td colspan="7" >&nbsp;</td>
            </tr>
        </table>
        <p>&nbsp;</p>

    </div>
</div>
<div id="footer"><a href="http://www.unmsm.edu.pe">Copyright</a> | <a href="http://www.unmsm.edu.pe">Universidad Nacional Mayor de San Marcos</a> |Ing. Software</a> | </div>
